<?php if (isset($typedesc)): ?>
<?php echo $form->create('testresult', array('url'=>$this->here, 'id'=>'typeDesc')) ?>
<?php echo $form->hidden('type', array('value'=>$typedesc['Soctype']['id'])) ?>
<fieldset>
<legend>описание</legend>
	<ul>
		<li>
			<?php //echo ($typedesc['Soctype']['desc']) ?>
			<?php pr ($typedesc['Soctype']) ?>
		</li>
	<li> <?php echo $form->submit('да это мой тип') ?> </li>
	</ul>
</fieldset>
<?php echo $form->end() ?>
<?php endif ?>
